@import "../../../assets/styles/variables.less";
.admin {
  height: calc(100% - 136rpx);
  margin-bottom: 30rpx;
}
.student {
  height: 100%;
}
.feedback {
  .fold {
    max-height: 175px;
  }
  .unfold {
    max-height: 346px;
  }
  .detail-msg {
    overflow: auto;
    word-break: break-all;
    image {
      width: 100%;
      margin-top: 20rpx;
      border-radius: 8rpx;
    }
  }
  .detail {
    padding: 30rpx;
    background: #fff;
    border-radius: 8rpx;
    font-size: 14px;
    color: #444444;
    line-height: 23px;
    .toggle-icon {
      text-align: center;
      .iconfont {
        font-size: 20rpx;
        color: #0060EB;
      }
    }
  }
  .feedback-info {
    font-size: 12px;
    display: flex;
    margin-top: 10px;
    color: #999;
  }
  .reply {
    margin-top: 50rpx;
    .title {
      font-size: 26rpx;
      line-height: 26rpx;
      margin-bottom: 30rpx;
    }
    .content {
      background: #fff;
      padding: 0 30rpx;
      border-top: solid #fff 30rpx;
      border-bottom: solid #fff 30rpx;
      overflow-y: auto;
      overflow-x: hidden;
      height: calc(100% - 56rpx);
      border-radius: 8rpx;
      image {
        border-radius: 50%;
      }
      .main-reply {
        display: flex;
        position: relative;
        padding: 30rpx 0;
        &:first-child {
          padding-top: 0;
        }
        &:last-child {
          padding-bottom: 0;
        }
        .main-img {
          width: 60rpx;
          height: 60rpx;
          margin-right: 24rpx;
        }
        .main-detail {
          width: calc(100% - 84rpx);
          .header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 14rpx;
          }
          .name {
            font-size: 26rpx;
            line-height: 26rpx;
            font-weight: 600;
            color: #333;
          }
          .message {
            font-size: 24rpx;
            line-height: 38rpx;
            color: #111;
            word-break: break-all;
          }
        }
        &:not(:last-child)::after {
          content: ' ';
          width: calc(100% + 60rpx);
          height: 2rpx;
          background: #eee;
          position: absolute;
          bottom: 0;
          left: -30rpx;
        }
      }
      .time {
        font-size: 22rpx;
        font-weight: 400;
        color: #999999;
        line-height: 22rpx;
      }
      .operate-btn {
        margin-top: 20rpx;
        .btn {
          color: #555555;
          font-size: 24rpx;
          line-height: 24rpx;
          display: inline-block;
          .iconfont {
            font-size: 24rpx;
          }
        }
      }
      .child-content {
        background: #f5f8fb;
        border-radius: 8rpx;
        .child-replay {
          padding: 20rpx 20rpx 0;
          display: flex;
          justify-content: space-between;
          position: relative;
          &:not(:last-child)::after {
            content: ' ';
            width: calc(100% - 60rpx);
            height: 2rpx;
            background: #eee;
            position: absolute;
            bottom: 0;
            left: 30rpx;
          }
          .child-img {
            width: 40rpx;
            height: 40rpx;
            margin-right: 16rpx;
          }
          .child-detail {
            width: calc(100% - 56rpx);
            padding-bottom: 20rpx;
            .header .name {
              font-size: 22rpx;
            }
            .replied-name {
              color: #999999;
            }
          }
        }
      }
    }
    .no-reply {
      background: #fff;
      color: #b4bac3;
      font-size: 26rpx;
      text-align: center;
      padding: 46rpx;
      border-radius: 8rpx;
      image {
        width: 82rpx;
        height: 81rpx;
      }
    }
  }
}
.input-mask {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(0,0,0,0.70);
  .input-wrap {
    position: absolute;
    bottom: 0;
    padding: 40rpx 30rpx 50rpx;
    width: 100%;
    background: #f3f6fa;
    border-top-left-radius: 20rpx;
    border-top-right-radius: 20rpx;
    .btn-wrap {
      display: flex;
      justify-content: space-between;
      color: #111;
      font-size: 28rpx;
      .submit-btn {
        color: @blue-font;
        font-size: 28rpx;
        font-weight: 500!important;
        background: none;
        padding: 0;
        width: auto;
        margin: 0;
        font-weight: 400;
      }
    }
    .textarea {
      background: #fff;
      width: 100%;
      height: 373rpx;
      margin-top: 30rpx;
      padding: 30rpx;
      box-sizing: border-box;
      border-radius: 8rpx;
      line-height: 40rpx;
    }
  }
}